package com.wgz.flag.mapper;

import com.wgz.flag.entity.FriendRequest;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface FriendRequestMapper {
    int insert(FriendRequest request);

    List<FriendRequest> selectByToUserId(Long toUserId);

    FriendRequest selectById(Long id);

    int updateStatus(Long id, Integer status);
}